export function getLine1(myChart) {
  let option = {
    "grid": {
        "top": "20",
        "left": "10",
        "right": "20",
        "bottom": 15,
        "containLabel": true
    },
    "color": [
        "#1879F0",
        "#02DCDA",
        "#BF682C",
        "#463DAC",
        "#20A971",
        "#2D73C7"
    ],
    "xAxis": {
        "name": "",
        "show": true,
        "type": "value",
        "axisLine": {
            "show": true,
            "lineStyle": {
                "type": "solid",
                "color": "#CCC"
            }
        },
        "axisTick": {
            "show": false,
            "lineStyle": {
                "type": "solid",
                "color": "#CCC"
            },
            "inside": false,
            "alignWithLabel": false
        },
        "position": "bottom",
        "axisLabel": {
            "show": true,
            "color": "#CCC",
            "inside": false,
            "margin": 8,
            "fontSize": 12,
            "fontStyle": "normal",
            "fontFamily": "sans-serif",
            "fontWeight": "norMal"
        },
        "splitLine": {
            "show": false,
            "lineStyle": {
                "type": "solid",
                "color": "#CCC"
            }
        },
        "boundaryGap": true
    },
    "yAxis": [
        {
            "name": "",
            "show": true,
            "type": "category",
            "inverse": true,
            "axisLine": {
                "show": true,
                "lineStyle": {
                    "type": "solid",
                    "color": "#CCC"
                }
            },
            "axisTick": {
                "show": false,
                "lineStyle": {
                    "type": "solid",
                    "color": "#CCC"
                },
                "inside": false,
                "alignWithLabel": false
            },
            "position": "left",
            "axisLabel": {
                "show": true,
                "color": "#CCC",
                "inside": false,
                "margin": 8,
                "fontSize": 12,
                "fontStyle": "normal",
                "fontFamily": "sans-serif",
                "fontWeight": "norMal"
            },
            "splitLine": {
                "show": false,
                "lineStyle": {
                    "type": "solid",
                    "color": "#CCC"
                }
            },
            "boundaryGap": true,
            "min": null
        }
    ],
    "series": [
        {
            "name": "",
            "type": "bar",
            "isSVG": true,
            "label": {
                "show": false,
                "color": "#fff",
                "rotate": 0,
                "fontSize": 12,
                "position": "inside",
                "fontStyle": "normal",
                "fontFamily": "sans-serif",
                "fontWeight": "normal"
            },
            "stack": "",
            "barGap": "-100%",
            "encode": {
                "x": "Target1",
                "y": "product"
            },
            "silent": true,
            "barWidth": "15",
            "markLine": {
                "data": [
                    {
                        "yAxis": "120"
                    }
                ],
                "label": {
                    "show": false,
                    "color": "#ffffff",
                    "fontSize": 14,
                    "fontStyle": "normal",
                    "fontFamily": "sans-serif",
                    "fontWeight": "normal"
                },
                "symbol": "none",
                "lineStyle": {
                    "type": "solid",
                    "color": "#fff",
                    "opacity": 0
                }
            },
            "itemStyle": {
                "color": {
                    "type": "linear",
                    "x": 0,
                    "y": 0.5,
                    "x2": 1,
                    "y2": 0.49999999999999994,
                    "colorStops": [
                        {
                            "offset": 0,
                            "color": "#2a7aff00"
                        },
                        {
                            "offset": 1,
                            "color": "#05e7f1d4"
                        },
                        {
                            "offset": 1,
                            "color": "#5a97fdff"
                        }
                    ],
                    "colorVal": "linear-gradient(90deg, #2a7aff00 0%, #05e7f1d4 100%, #5a97fdff 100%)"
                },
                "borderType": "solid",
                "shadowBlur": 0,
                "borderColor": "#fff",
                "borderWidth": 0,
                "shadowColor": "#000",
                "borderRadius": [
                    0,
                    0,
                    0,
                    0
                ]
            },
            "showBackground": false,
            "backgroundStyle": {
                "color": "rgba(180, 180, 180, 0.2)"
            }
        }
    ],
    "dataset": {
        "source": [
            [
                "product",
                "比例"
            ],
            [
                "居住建筑",
                20
            ],
            [
                "公共区",
                80
            ],
            [
                "生产及仓储区",
                33
            ],
            [
                "公共种植",
                88
            ]
        ]
    }
}
  myChart.setOption(option)
}

export function getLoop7(myChart) {
  let option = {
    "grid": {
      "top": 60,
      "left": "0%",
      "right": "0%",
      "bottom": 60
    },
    "color": [
      "#1879F0",
      "#02DCDA",
      "#BF682C",
      "#463DAC",
      "#20A971",
      "#2D73C7"
    ],
    "legend": {
      "top": "center",
      "icon": "roundRect",
      "left": null,
      "show": true,
      "right": "0",
      "bottom": null,
      "orient": "vertical",
      "itemGap": 12,
      "itemWidth": 12,
      "textStyle": {
        "color": "#ffffff",
        "fontSize": 12,
        "fontStyle": "normal",
        "fontFamily": "sans-serif",
        "fontWeight": "normal"
      },
      "itemHeight": 8
    },
    "series": [
      {
        "name": "访问来源",
        "type": "pie",
        "color": [
          {
            "type": "linear",
            "x": 0.5,
            "y": 1,
            "x2": 0.5,
            "y2": 0,
            "colorStops": [
              {
                "offset": 0,
                "color": "#1879f0ff"
              },
              {
                "offset": 1,
                "color": "#64c1f6ff"
              }
            ],
            "colorVal": "linear-gradient(0deg, #1879f0ff 0%, #64c1f6ff 100%)"
          },
          {
            "type": "linear",
            "x": 0.5,
            "y": 1,
            "x2": 0.5,
            "y2": 0,
            "colorStops": [
              {
                "offset": 0,
                "color": "#02dcdaff"
              },
              {
                "offset": 1,
                "color": "#eefdfdff"
              }
            ],
            "colorVal": "linear-gradient(0deg, #02dcdaff 0%, #eefdfdff 100%)"
          },
          {
            "type": "linear",
            "x": 0.5,
            "y": 1,
            "x2": 0.5,
            "y2": 0,
            "colorStops": [
              {
                "offset": 0,
                "color": "#e78151ff"
              },
              {
                "offset": 1,
                "color": "#f1e6ceff"
              }
            ],
            "colorVal": "linear-gradient(0deg, #e78151ff 0%, #f1e6ceff 100%)"
          },
          {
            "type": "linear",
            "x": 0.5,
            "y": 1,
            "x2": 0.5,
            "y2": 0,
            "colorStops": [
              {
                "offset": 0,
                "color": "#463dacff"
              },
              {
                "offset": 1,
                "color": "#463dacff"
              }
            ],
            "colorVal": "linear-gradient(0deg, #463dacff 0%, #463dacff 100%)"
          },
          {
            "type": "linear",
            "x": 0.5,
            "y": 1,
            "x2": 0.5,
            "y2": 0,
            "colorStops": [
              {
                "offset": 0,
                "color": "#20a971ff"
              },
              {
                "offset": 1,
                "color": "#20a971ff"
              }
            ],
            "colorVal": "linear-gradient(0deg, #20a971ff 0%, #20a971ff 100%)"
          },
          {
            "type": "linear",
            "x": 0.5,
            "y": 1,
            "x2": 0.5,
            "y2": 0,
            "colorStops": [
              {
                "offset": 0,
                "color": "#2d73c7ff"
              },
              {
                "offset": 1,
                "color": "#2d73c7ff"
              }
            ],
            "colorVal": "linear-gradient(0deg, #2d73c7ff 0%, #2d73c7ff 100%)"
          }
        ],
        "isSVG": true,
        "label": {
          "show": false,
          "color": "#fff",
          "rotate": 0,
          "fontSize": 12,
          "position": "inside",
          "fontStyle": "normal",
          "fontFamily": "sans-serif",
          "fontWeight": "normal"
        },
        "center": [
          "30%",
          "50%"
        ],
        "encode": {
          "value": "Target",
          "itemName": "product"
        },
        "radius": [
          "70%",
          "90%"
        ],
        "emphasis": {
          "itemStyle": {
            "shadowBlur": 10,
            "shadowColor": "rgba(0, 0, 0, 0.5)",
            "shadowOffsetX": 0
          }
        },
        "itemStyle": {
          "borderColor": "#FFFFFF",
          "borderWidth": "0",
          "borderRadius": 10,
          "borderType": "solid",
          "shadowColor": "#000",
          "shadowBlur": "2"
        },
        "labelLine": {
          "show": false,
          "length": 15,
          "length2": 15
        },
        "startAngle": 90,
        "avoidLabelOverlap": false
      }
    ],
    "dataset": {
      "source": [
        [
          "product",
          "Target"
        ],
        [
          "液体垃圾",
          "121"
        ],
        [
          "膏体垃圾",
          "91"
        ],
        [
          "危险垃圾",
          "47"
        ]
      ]
    },
    "tooltip": {
      "show": true,
      "textStyle": {
        "color": "#fff",
        "fontSize": 20,
        "fontStyle": "normal",
        "fontFamily": "sans-serif",
        "fontWeight": "normal"
      },
      "backgroundColor": "rgba(50,50,50,0.7)"
    }
  }
  myChart.setOption(option)
}

export function getLoop6(myChart) {
  let option = {
    "grid": {
      "top": 60,
      "left": "0%",
      "right": "0%",
      "bottom": 60
    },
    "color": [
      "#1879F0",
      "#02DCDA",
      "#BF682C",
      "#463DAC",
      "#20A971",
      "#2D73C7"
    ],
    "legend": {
      "top": "center",
      "icon": "roundRect",
      "left": null,
      "show": true,
      "right": "10",
      "bottom": null,
      "orient": "vertical",
      "itemGap": 12,
      "itemWidth": 12,
      "textStyle": {
        "color": "#ffffff",
        "fontSize": 12,
        "fontStyle": "normal",
        "fontFamily": "sans-serif",
        "fontWeight": "normal"
      },
      "itemHeight": 8
    },
    "series": [
      {
        "name": "访问来源",
        "type": "pie",
        "color": [
          {
            "type": "linear",
            "x": 0.5,
            "y": 1,
            "x2": 0.5,
            "y2": 0,
            "colorStops": [
              {
                "offset": 0,
                "color": "#1879f0ff"
              },
              {
                "offset": 1,
                "color": "#64c1f6ff"
              }
            ],
            "colorVal": "linear-gradient(0deg, #1879f0ff 0%, #64c1f6ff 100%)"
          },
          {
            "type": "linear",
            "x": 0.5,
            "y": 1,
            "x2": 0.5,
            "y2": 0,
            "colorStops": [
              {
                "offset": 0,
                "color": "#02dcdaff"
              },
              {
                "offset": 1,
                "color": "#eefdfdff"
              }
            ],
            "colorVal": "linear-gradient(0deg, #02dcdaff 0%, #eefdfdff 100%)"
          },
          {
            "type": "linear",
            "x": 0.5,
            "y": 1,
            "x2": 0.5,
            "y2": 0,
            "colorStops": [
              {
                "offset": 0,
                "color": "#e78151ff"
              },
              {
                "offset": 1,
                "color": "#f1e6ceff"
              }
            ],
            "colorVal": "linear-gradient(0deg, #e78151ff 0%, #f1e6ceff 100%)"
          },
          {
            "type": "linear",
            "x": 0.5,
            "y": 1,
            "x2": 0.5,
            "y2": 0,
            "colorStops": [
              {
                "offset": 0,
                "color": "#463dacff"
              },
              {
                "offset": 1,
                "color": "#463dacff"
              }
            ],
            "colorVal": "linear-gradient(0deg, #463dacff 0%, #463dacff 100%)"
          },
          {
            "type": "linear",
            "x": 0.5,
            "y": 1,
            "x2": 0.5,
            "y2": 0,
            "colorStops": [
              {
                "offset": 0,
                "color": "#20a971ff"
              },
              {
                "offset": 1,
                "color": "#20a971ff"
              }
            ],
            "colorVal": "linear-gradient(0deg, #20a971ff 0%, #20a971ff 100%)"
          },
          {
            "type": "linear",
            "x": 0.5,
            "y": 1,
            "x2": 0.5,
            "y2": 0,
            "colorStops": [
              {
                "offset": 0,
                "color": "#2d73c7ff"
              },
              {
                "offset": 1,
                "color": "#2d73c7ff"
              }
            ],
            "colorVal": "linear-gradient(0deg, #2d73c7ff 0%, #2d73c7ff 100%)"
          }
        ],
        "isSVG": true,
        "label": {
          "show": false,
          "color": "#fff",
          "rotate": 0,
          "fontSize": 12,
          "position": "inside",
          "fontStyle": "normal",
          "fontFamily": "sans-serif",
          "fontWeight": "normal"
        },
        "center": [
          "30%",
          "50%"
        ],
        "encode": {
          "value": "Target",
          "itemName": "product"
        },
        "radius": [
          "70%",
          "90%"
        ],
        "emphasis": {
          "itemStyle": {
            "shadowBlur": 10,
            "shadowColor": "rgba(0, 0, 0, 0.5)",
            "shadowOffsetX": 0
          }
        },
        "itemStyle": {
          "borderColor": "#FFFFFF",
          "borderWidth": "0",
          "borderRadius": 10,
          "borderType": "solid",
          "shadowColor": "#000",
          "shadowBlur": "2"
        },
        "labelLine": {
          "show": false,
          "length": 15,
          "length2": 15
        },
        "startAngle": 90,
        "avoidLabelOverlap": false
      }
    ],
    "dataset": {
      "source": [
        [
          "product",
          "Target"
        ],
        [
          "1亿",
          "121"
        ],
        [
          "5000万-1亿",
          "91"
        ],
        [
          "2000万-5000万",
          "47"
        ]
      ]
    },
    "tooltip": {
      "show": true,
      "textStyle": {
        "color": "#fff",
        "fontSize": 20,
        "fontStyle": "normal",
        "fontFamily": "sans-serif",
        "fontWeight": "normal"
      },
      "backgroundColor": "rgba(50,50,50,0.7)"
    }
  }
  myChart.setOption(option)
}
export function getLoop5(myChart) {
  let option = {
    "grid": {
      "top": 60,
      "left": "0%",
      "right": "0%",
      "bottom": 60
    },
    "color": [
      "#1879F0",
      "#02DCDA",
      "#BF682C",
      "#463DAC",
      "#20A971",
      "#2D73C7"
    ],
    "legend": {
      "top": "center",
      "icon": "roundRect",
      "left": null,
      "show": true,
      "right": "10",
      "bottom": null,
      "orient": "vertical",
      "itemGap": 12,
      "itemWidth": 12,
      "textStyle": {
        "color": "#ffffff",
        "fontSize": 12,
        "fontStyle": "normal",
        "fontFamily": "sans-serif",
        "fontWeight": "normal"
      },
      "itemHeight": 8
    },
    "series": [
      {
        "name": "访问来源",
        "type": "pie",
        "color": [
          {
            "type": "linear",
            "x": 0.5,
            "y": 1,
            "x2": 0.5,
            "y2": 0,
            "colorStops": [
              {
                "offset": 0,
                "color": "#1879f0ff"
              },
              {
                "offset": 1,
                "color": "#64c1f6ff"
              }
            ],
            "colorVal": "linear-gradient(0deg, #1879f0ff 0%, #64c1f6ff 100%)"
          },
          {
            "type": "linear",
            "x": 0.5,
            "y": 1,
            "x2": 0.5,
            "y2": 0,
            "colorStops": [
              {
                "offset": 0,
                "color": "#02dcdaff"
              },
              {
                "offset": 1,
                "color": "#eefdfdff"
              }
            ],
            "colorVal": "linear-gradient(0deg, #02dcdaff 0%, #eefdfdff 100%)"
          },
          {
            "type": "linear",
            "x": 0.5,
            "y": 1,
            "x2": 0.5,
            "y2": 0,
            "colorStops": [
              {
                "offset": 0,
                "color": "#e78151ff"
              },
              {
                "offset": 1,
                "color": "#f1e6ceff"
              }
            ],
            "colorVal": "linear-gradient(0deg, #e78151ff 0%, #f1e6ceff 100%)"
          },
          {
            "type": "linear",
            "x": 0.5,
            "y": 1,
            "x2": 0.5,
            "y2": 0,
            "colorStops": [
              {
                "offset": 0,
                "color": "#463dacff"
              },
              {
                "offset": 1,
                "color": "#463dacff"
              }
            ],
            "colorVal": "linear-gradient(0deg, #463dacff 0%, #463dacff 100%)"
          },
          {
            "type": "linear",
            "x": 0.5,
            "y": 1,
            "x2": 0.5,
            "y2": 0,
            "colorStops": [
              {
                "offset": 0,
                "color": "#20a971ff"
              },
              {
                "offset": 1,
                "color": "#20a971ff"
              }
            ],
            "colorVal": "linear-gradient(0deg, #20a971ff 0%, #20a971ff 100%)"
          },
          {
            "type": "linear",
            "x": 0.5,
            "y": 1,
            "x2": 0.5,
            "y2": 0,
            "colorStops": [
              {
                "offset": 0,
                "color": "#2d73c7ff"
              },
              {
                "offset": 1,
                "color": "#2d73c7ff"
              }
            ],
            "colorVal": "linear-gradient(0deg, #2d73c7ff 0%, #2d73c7ff 100%)"
          }
        ],
        "isSVG": true,
        "label": {
          "show": false,
          "color": "#fff",
          "rotate": 0,
          "fontSize": 12,
          "position": "inside",
          "fontStyle": "normal",
          "fontFamily": "sans-serif",
          "fontWeight": "normal"
        },
        "center": [
          "30%",
          "50%"
        ],
        "encode": {
          "value": "Target",
          "itemName": "product"
        },
        "radius": [
          "70%",
          "90%"
        ],
        "emphasis": {
          "itemStyle": {
            "shadowBlur": 10,
            "shadowColor": "rgba(0, 0, 0, 0.5)",
            "shadowOffsetX": 0
          }
        },
        "itemStyle": {
          "borderColor": "#FFFFFF",
          "borderWidth": "0",
          "borderRadius": 10,
          "borderType": "solid",
          "shadowColor": "#000",
          "shadowBlur": "2"
        },
        "labelLine": {
          "show": false,
          "length": 15,
          "length2": 15
        },
        "startAngle": 90,
        "avoidLabelOverlap": false
      }
    ],
    "dataset": {
      "source": [
        [
          "product",
          "Target"
        ],
        [
          "正在进行",
          "121"
        ],
        [
          "即将进行",
          "91"
        ],
        [
          "已完成",
          "47"
        ]
      ]
    },
    "tooltip": {
      "show": true,
      "textStyle": {
        "color": "#fff",
        "fontSize": 20,
        "fontStyle": "normal",
        "fontFamily": "sans-serif",
        "fontWeight": "normal"
      },
      "backgroundColor": "rgba(50,50,50,0.7)"
    }
  }
  myChart.setOption(option)
}


export function getxBar(myChart) {
  let option = {
    "grid": {
      "top": "20",
      "left": "10",
      "right": "20",
      "bottom": 15,
      "containLabel": true
    },
    "color": [
      "#1879F0",
      "#02DCDA",
      "#BF682C",
      "#463DAC",
      "#20A971",
      "#2D73C7"
    ],
    "xAxis": [
      {
        "name": "",
        "show": true,
        "type": "category",
        "axisLine": {
          "show": true,
          "lineStyle": {
            "type": "solid",
            "color": "#CCC"
          }
        },
        "axisTick": {
          "show": false,
          "lineStyle": {
            "type": "solid",
            "color": "#CCC"
          },
          "inside": false,
          "alignWithLabel": false
        },
        "position": "bottom",
        "axisLabel": {
          "show": true,
          "color": "#ccc",
          "inside": false,
          "margin": 8,
          "fontSize": 15,
          "fontStyle": "normal",
          "fontFamily": "sans-serif",
          "fontWeight": "norMal"
        },
        "splitLine": {
          "show": false,
          "lineStyle": {
            "type": "solid",
            "color": "#CCC"
          }
        },
        "boundaryGap": true,
        "nameTextStyle": {
          "fontSize": 16
        }
      }
    ],
    "yAxis": [
      {
        "name": "",
        "show": true,
        "type": "value",
        "axisLine": {
          "show": true,
          "lineStyle": {
            "type": "solid",
            "color": "#ccc"
          }
        },
        "axisTick": {
          "show": false,
          "lineStyle": {
            "type": "solid",
            "color": "#CCC"
          },
          "inside": false,
          "alignWithLabel": false
        },
        "position": "left",
        "axisLabel": {
          "show": true,
          "color": "#ccc",
          "inside": false,
          "margin": 8,
          "fontSize": 15,
          "fontStyle": "normal",
          "fontFamily": "sans-serif",
          "fontWeight": "norMal"
        },
        "splitLine": {
          "show": false,
          "lineStyle": {
            "type": "solid",
            "color": "rgba(138,162,196, 0.5)"
          }
        },
        "nameTextStyle": {
          "fontSize": 16
        },
        "min": null
      }
    ],
    "legend": {
      "top": null,
      "icon": "roundRect",
      "left": null,
      "show": false,
      "right": "10%",
      "bottom": null,
      "orient": "horizontal",
      "itemGap": 10,
      "itemWidth": 25,
      "textStyle": {
        "color": "#ffffff",
        "fontSize": 15,
        "fontStyle": "normal",
        "fontFamily": "sans-serif",
        "fontWeight": "normal"
      },
      "itemHeight": 15
    },
    "series": [
      {
        "name": "二",
        "type": "bar",
        "isSVG": true,
        "label": {
          "show": false,
          "color": "#fff",
          "rotate": 0,
          "fontSize": 12,
          "position": "inside",
          "fontStyle": "normal",
          "fontFamily": "sans-serif",
          "fontWeight": "normal"
        },
        "stack": "",
        "barGap": "30%",
        "barWidth": "10",
        "markLine": {
          "data": [
            {
              "yAxis": "120"
            }
          ],
          "label": {
            "show": false,
            "color": "#ffffff",
            "fontSize": 14,
            "fontStyle": "normal",
            "fontFamily": "sans-serif",
            "fontWeight": "normal"
          },
          "symbol": "none",
          "lineStyle": {
            "type": "solid",
            "color": "#fff",
            "opacity": 0
          }
        },
        "itemStyle": {
          "color": {
            "type": "linear",
            "x": 0.5,
            "y": 1,
            "x2": 0.5,
            "y2": 0,
            "colorStops": [
              {
                "offset": 0,
                "color": "#5a97fd00"
              },
              {
                "offset": 1,
                "color": "#5a97fdff"
              }
            ],
            "colorVal": "linear-gradient(0deg, #5a97fd00 0%, #5a97fdff 100%)"
          },
          "borderType": "solid",
          "shadowBlur": 0,
          "borderColor": "#fff",
          "borderWidth": "0",
          "shadowColor": "#000",
          "borderRadius": [
            0,
            0,
            0,
            0
          ]
        },
        "showBackground": false,
        "backgroundStyle": {
          "color": "rgba(180, 180, 180, 0.2)"
        }
      },
      {
        "name": "一",
        "type": "bar",
        "isSVG": true,
        "label": {
          "show": false,
          "color": "#fff",
          "rotate": 0,
          "fontSize": 12,
          "position": "inside",
          "fontStyle": "normal",
          "fontFamily": "sans-serif",
          "fontWeight": "normal"
        },
        "stack": "",
        "barGap": "30%",
        "barWidth": "10",
        "markLine": {
          "data": [
            {
              "yAxis": "120"
            }
          ],
          "label": {
            "show": false,
            "color": "#ffffff",
            "fontSize": 14,
            "fontStyle": "normal",
            "fontFamily": "sans-serif",
            "fontWeight": "normal"
          },
          "symbol": "none",
          "lineStyle": {
            "type": "solid",
            "color": "#fff",
            "opacity": 0
          }
        },
        "itemStyle": {
          "color": {
            "type": "linear",
            "x": 0.5,
            "y": 1,
            "x2": 0.5,
            "y2": 0,
            "colorStops": [
              {
                "offset": 0,
                "color": "#ffab1400"
              },
              {
                "offset": 1,
                "color": "#fec663ff"
              }
            ],
            "colorVal": "linear-gradient(0deg, #ffab1400 0%, #fec663ff 100%)"
          },
          "borderType": "solid",
          "shadowBlur": 0,
          "borderColor": "#fff",
          "borderWidth": "0",
          "shadowColor": "#000",
          "borderRadius": [
            0,
            0,
            0,
            0
          ]
        },
        "showBackground": false,
        "backgroundStyle": {
          "color": "rgba(180, 180, 180, 0.2)"
        }
      }
    ],
    "dataset": {
      "source": [
        [
          "product",
          "一",
          "二"
        ],
        [
          "已建设",
          101,
          61
        ],
        [
          "已出租",
          121,
          41
        ],
        [
          "在建设",
          141,
          53
        ],
        [
          "规划中",
          81,
          93
        ]
      ]
    },
    "tooltip": {
      "show": true,
      "textStyle": {
        "color": "#fff",
        "fontSize": 14,
        "fontStyle": "normal",
        "fontFamily": "sans-serif",
        "fontWeight": "normal"
      },
      "backgroundColor": "rgba(50,50,50,0.7)"
    }
  }
  myChart.setOption(option)
}
export function getyBar(myChart) {
  let option = {
    "grid": {
      "top": "20",
      "left": "10",
      "right": "20",
      "bottom": 15,
      "containLabel": true
    },
    "color": [
      "#1879F0",
      "#02DCDA",
      "#BF682C",
      "#463DAC",
      "#20A971",
      "#2D73C7"
    ],
    "xAxis": {
      "name": "",
      "show": true,
      "type": "value",
      "axisLine": {
        "show": true,
        "lineStyle": {
          "type": "solid",
          "color": "#CCC"
        }
      },
      "axisTick": {
        "show": false,
        "lineStyle": {
          "type": "solid",
          "color": "#CCC"
        },
        "inside": false,
        "alignWithLabel": false
      },
      "position": "bottom",
      "axisLabel": {
        "show": true,
        "color": "#CCC",
        "inside": false,
        "margin": 8,
        "fontSize": 12,
        "fontStyle": "normal",
        "fontFamily": "sans-serif",
        "fontWeight": "norMal"
      },
      "splitLine": {
        "show": false,
        "lineStyle": {
          "type": "solid",
          "color": "#CCC"
        }
      },
      "boundaryGap": true
    },
    "yAxis": [
      {
        "name": "",
        "show": true,
        "type": "category",
        "inverse": true,
        "axisLine": {
          "show": true,
          "lineStyle": {
            "type": "solid",
            "color": "#CCC"
          }
        },
        "axisTick": {
          "show": false,
          "lineStyle": {
            "type": "solid",
            "color": "#CCC"
          },
          "inside": false,
          "alignWithLabel": false
        },
        "position": "left",
        "axisLabel": {
          "show": true,
          "color": "#CCC",
          "inside": false,
          "margin": 8,
          "fontSize": 12,
          "fontStyle": "normal",
          "fontFamily": "sans-serif",
          "fontWeight": "norMal"
        },
        "splitLine": {
          "show": false,
          "lineStyle": {
            "type": "solid",
            "color": "#CCC"
          }
        },
        "boundaryGap": true,
        "min": null
      }
    ],
    "series": [
      {
        "name": "比例",
        "type": "bar",
        "isSVG": true,
        "label": {
          "show": false,
          "color": "#fff",
          "rotate": 0,
          "fontSize": 12,
          "position": "inside",
          "fontStyle": "normal",
          "fontFamily": "sans-serif",
          "fontWeight": "normal"
        },
        "stack": "",
        "barGap": "-100%",
        "encode": {
          "x": "Target1",
          "y": "product"
        },
        "silent": true,
        "barWidth": "10",
        "markLine": {
          "data": [
            {
              "yAxis": "120"
            }
          ],
          "label": {
            "show": false,
            "color": "#ffffff",
            "fontSize": 14,
            "fontStyle": "normal",
            "fontFamily": "sans-serif",
            "fontWeight": "normal"
          },
          "symbol": "none",
          "lineStyle": {
            "type": "solid",
            "color": "#fff",
            "opacity": 0
          }
        },
        "itemStyle": {
          "color": {
            "type": "linear",
            "x": 0,
            "y": 0.5,
            "x2": 1,
            "y2": 0.49999999999999994,
            "colorStops": [
              {
                "offset": 0,
                "color": "#2a7aff00"
              },
              {
                "offset": 1,
                "color": "#5a97fdff"
              }
            ],
            "colorVal": "linear-gradient(90deg, #2a7aff00 0%, #5a97fdff 100%)"
          },
          "borderType": "solid",
          "shadowBlur": 0,
          "borderColor": "#fff",
          "borderWidth": 0,
          "shadowColor": "#000",
          "borderRadius": [
            0,
            0,
            0,
            0
          ]
        },
        "showBackground": false,
        "backgroundStyle": {
          "color": "rgba(180, 180, 180, 0.2)"
        }
      }
    ],
    "dataset": {
      "source": [
        [
          "product",
          "比例"
        ],
        [
          "道路",
          75
        ],
        [
          "电线路",
          83
        ],
        [
          "供水管道",
          22
        ],
        [
          "排雨水管道",
          90
        ],
        [
          "燃气管道",
          70
        ],
        [
          "排生活污水管道",
          80
        ],
        [
          "通讯管道",
          20
        ]
      ]
    }
  }
  myChart.setOption(option)
}
export function getRing2(myChart) {
  let option = {
    "grid": {
        "top": 60,
        "left": "0%",
        "right": "0%",
        "bottom": 60
    },
    "color": [
        "#1879F0",
        "#02DCDA",
        "#BF682C",
        "#463DAC",
        "#20A971",
        "#2D73C7"
    ],
    "legend": {
        "top": "center",
        "icon": "roundRect",
        "left": null,
        "show": true,
        "right": 15,
        "bottom": null,
        "orient": "vertical",
        "itemGap": 12,
        "itemWidth": 12,
        "textStyle": {
            "color": "#ffffff",
            "fontSize": 12,
            "fontStyle": "normal",
            "fontFamily": "sans-serif",
            "fontWeight": "normal"
        },
        "itemHeight": 8
    },
    "series": [
        {
            "name": "访问来源",
            "type": "pie",
            "color": [
                {
                    "type": "linear",
                    "x": 0.5,
                    "y": 1,
                    "x2": 0.5,
                    "y2": 0,
                    "colorStops": [
                        {
                            "offset": 0,
                            "color": "#1879f0ff"
                        },
                        {
                            "offset": 0,
                            "color": "#1879f0ff"
                        },
                        {
                            "offset": 1,
                            "color": "#64c1f6ff"
                        }
                    ],
                    "colorVal": "linear-gradient(0deg, #1879f0ff 0%, #1879f0ff 0%, #64c1f6ff 100%)"
                },
                {
                    "type": "linear",
                    "x": 0.5,
                    "y": 1,
                    "x2": 0.5,
                    "y2": 0,
                    "colorStops": [
                        {
                            "offset": 0,
                            "color": "#02dcdaff"
                        },
                        {
                            "offset": 1,
                            "color": "#eefdfdff"
                        }
                    ],
                    "colorVal": "linear-gradient(0deg, #02dcdaff 0%, #eefdfdff 100%)"
                },
                {
                    "type": "linear",
                    "x": 0.5,
                    "y": 1,
                    "x2": 0.5,
                    "y2": 0,
                    "colorStops": [
                        {
                            "offset": 0,
                            "color": "#3ab1b6ff"
                        },
                        {
                            "offset": 1,
                            "color": "#3ab1b6ff"
                        }
                    ],
                    "colorVal": "linear-gradient(0deg, #3ab1b6ff 0%, #3ab1b6ff 100%)"
                },
                {
                    "type": "linear",
                    "x": 0.5,
                    "y": 1,
                    "x2": 0.5,
                    "y2": 0,
                    "colorStops": [
                        {
                            "offset": 0,
                            "color": "#463dacff"
                        },
                        {
                            "offset": 1,
                            "color": "#463dacff"
                        }
                    ],
                    "colorVal": "linear-gradient(0deg, #463dacff 0%, #463dacff 100%)"
                },
                {
                    "type": "linear",
                    "x": 0.5,
                    "y": 1,
                    "x2": 0.5,
                    "y2": 0,
                    "colorStops": [
                        {
                            "offset": 0,
                            "color": "#20a971ff"
                        },
                        {
                            "offset": 1,
                            "color": "#20a971ff"
                        }
                    ],
                    "colorVal": "linear-gradient(0deg, #20a971ff 0%, #20a971ff 100%)"
                },
                {
                    "type": "linear",
                    "x": 0.5,
                    "y": 1,
                    "x2": 0.5,
                    "y2": 0,
                    "colorStops": [
                        {
                            "offset": 0,
                            "color": "#2d73c7ff"
                        },
                        {
                            "offset": 1,
                            "color": "#2d73c7ff"
                        }
                    ],
                    "colorVal": "linear-gradient(0deg, #2d73c7ff 0%, #2d73c7ff 100%)"
                }
            ],
            "isSVG": true,
            "label": {
                "show": false,
                "color": "#fff",
                "rotate": 0,
                "fontSize": 12,
                "position": "inside",
                "fontStyle": "normal",
                "fontFamily": "sans-serif",
                "fontWeight": "normal"
            },
            "center": [
                "30%",
                "50%"
            ],
            "encode": {
                "value": "Target",
                "itemName": "product"
            },
            "radius": [
                "70%",
                "90%"
            ],
            "emphasis": {
                "itemStyle": {
                    "shadowBlur": 10,
                    "shadowColor": "rgba(0, 0, 0, 0.5)",
                    "shadowOffsetX": 0
                }
            },
            "itemStyle": {
                "borderType": "solid",
                "shadowBlur": 0,
                "borderColor": "#fff",
                "borderWidth": 0,
                "shadowColor": "#000"
            },
            "labelLine": {
                "show": false,
                "length": 15,
                "length2": 15
            },
            "startAngle": 90,
            "avoidLabelOverlap": false
        }
    ],
    "dataset": {
        "source": [
            [
                "product",
                "Target"
            ],
            [
                "可售面积",
                100
            ],
            [
                "建筑面积",
                100
            ]
        ]
    },
    "tooltip": {
        "show": true,
        "textStyle": {
            "color": "#fff",
            "fontSize": 14,
            "fontStyle": "normal",
            "fontFamily": "sans-serif",
            "fontWeight": "normal"
        },
        "backgroundColor": "rgba(50,50,50,0.7)"
    }
}
  myChart.setOption(option)
}
export function getRing1(myChart) {
  let option = {
    "grid": {
        "top": 60,
        "left": "10%",
        "right": "10%",
        "bottom": 60
    },
    "color": [
        "#1879F0",
        "#02DCDA",
        "#BF682C",
        "#463DAC",
        "#20A971",
        "#2D73C7"
    ],
    "legend": {
        "top": "center",
        "icon": "roundRect",
        "left": null,
        "show": true,
        "right": 15,
        "bottom": null,
        "orient": "vertical",
        "itemGap": 12,
        "itemWidth": 12,
        "textStyle": {
            "color": "#ffffff",
            "fontSize": 12,
            "fontStyle": "normal",
            "fontFamily": "sans-serif",
            "fontWeight": "normal"
        },
        "itemHeight": 8
    },
    "series": [
        {
            "name": "访问来源",
            "type": "pie",
            "color": [
                {
                    "type": "linear",
                    "x": 0.5,
                    "y": 1,
                    "x2": 0.5,
                    "y2": 0,
                    "colorStops": [
                        {
                            "offset": 0,
                            "color": "#1879f0ff"
                        },
                        {
                            "offset": 1,
                            "color": "#64c1f6ff"
                        }
                    ],
                    "colorVal": "linear-gradient(0deg, #1879f0ff 0%, #64c1f6ff 100%)"
                },
                {
                    "type": "linear",
                    "x": 0.5,
                    "y": 1,
                    "x2": 0.5,
                    "y2": 0,
                    "colorStops": [
                        {
                            "offset": 0,
                            "color": "#02dcdaff"
                        },
                        {
                            "offset": 1,
                            "color": "#eefdfdff"
                        }
                    ],
                    "colorVal": "linear-gradient(0deg, #02dcdaff 0%, #eefdfdff 100%)"
                },
                {
                    "type": "linear",
                    "x": 0.5,
                    "y": 1,
                    "x2": 0.5,
                    "y2": 0,
                    "colorStops": [
                        {
                            "offset": 0,
                            "color": "#e78151ff"
                        },
                        {
                            "offset": 1,
                            "color": "#f1e6ceff"
                        }
                    ],
                    "colorVal": "linear-gradient(0deg, #e78151ff 0%, #f1e6ceff 100%)"
                },
                {
                    "type": "linear",
                    "x": 0.5,
                    "y": 1,
                    "x2": 0.5,
                    "y2": 0,
                    "colorStops": [
                        {
                            "offset": 0,
                            "color": "#463dacff"
                        },
                        {
                            "offset": 1,
                            "color": "#463dacff"
                        }
                    ],
                    "colorVal": "linear-gradient(0deg, #463dacff 0%, #463dacff 100%)"
                },
                {
                    "type": "linear",
                    "x": 0.5,
                    "y": 1,
                    "x2": 0.5,
                    "y2": 0,
                    "colorStops": [
                        {
                            "offset": 0,
                            "color": "#20a971ff"
                        },
                        {
                            "offset": 1,
                            "color": "#20a971ff"
                        }
                    ],
                    "colorVal": "linear-gradient(0deg, #20a971ff 0%, #20a971ff 100%)"
                },
                {
                    "type": "linear",
                    "x": 0.5,
                    "y": 1,
                    "x2": 0.5,
                    "y2": 0,
                    "colorStops": [
                        {
                            "offset": 0,
                            "color": "#2d73c7ff"
                        },
                        {
                            "offset": 1,
                            "color": "#2d73c7ff"
                        }
                    ],
                    "colorVal": "linear-gradient(0deg, #2d73c7ff 0%, #2d73c7ff 100%)"
                }
            ],
            "isSVG": true,
            "label": {
                "show": false,
                "color": "#fff",
                "rotate": 0,
                "fontSize": 12,
                "position": "inside",
                "fontStyle": "normal",
                "fontFamily": "sans-serif",
                "fontWeight": "normal"
            },
            "center": [
                "30%",
                "50%"
            ],
            "encode": {
                "value": "Target",
                "itemName": "product"
            },
            "radius": [
                "70%",
                "90%"
            ],
            "emphasis": {
                "itemStyle": {
                    "shadowBlur": 10,
                    "shadowColor": "rgba(0, 0, 0, 0.5)",
                    "shadowOffsetX": 0
                }
            },
            "itemStyle": {
                "borderType": "solid",
                "shadowBlur": 0,
                "borderColor": "#fff",
                "borderWidth": 0,
                "shadowColor": "#000"
            },
            "labelLine": {
                "show": false,
                "length": 15,
                "length2": 15
            },
            "startAngle": 90,
            "avoidLabelOverlap": false
        }
    ],
    "dataset": {
        "source": [
            [
                "product",
                "Target"
            ],
            [
                "通道用地",
                121
            ],
            [
                "公共配套",
                20
            ],
            [
                "市政配套",
                50
            ],
            [
                "绿化用地",
                50
            ]
        ]
    },
    "tooltip": {
        "show": true,
        "textStyle": {
            "color": "#fff",
            "fontSize": 14,
            "fontStyle": "normal",
            "fontFamily": "sans-serif",
            "fontWeight": "normal"
        },
        "backgroundColor": "rgba(50,50,50,0.7)"
    }
}
  myChart.setOption(option)
}
export function getRing(myChart) {
  let option = {
    "grid": {
        "top": 60,
        "left": "0%",
        "right": "0%",
        "bottom": 60
    },
    "color": [
        "#1879F0",
        "#02DCDA",
        "#BF682C",
        "#463DAC",
        "#20A971",
        "#2D73C7"
    ],
    "legend": {
        "top": "center",
        "icon": "roundRect",
        "left": null,
        "show": true,
        "right": 15,
        "bottom": null,
        "orient": "vertical",
        "itemGap": 12,
        "itemWidth": 12,
        "textStyle": {
            "color": "#ffffff",
            "fontSize": 12,
            "fontStyle": "normal",
            "fontFamily": "sans-serif",
            "fontWeight": "normal"
        },
        "itemHeight": 8
    },
    "series": [
        {
            "name": "访问来源",
            "type": "pie",
            "color": [
                {
                    "type": "linear",
                    "x": 0.5,
                    "y": 1,
                    "x2": 0.5,
                    "y2": 0,
                    "colorStops": [
                        {
                            "offset": 0.01,
                            "color": "#1879f0ff"
                        },
                        {
                            "offset": 1,
                            "color": "#64c1f6ff"
                        }
                    ],
                    "colorVal": "linear-gradient(0deg, #1879f0ff 1%, #64c1f6ff 100%)"
                },
                {
                    "type": "linear",
                    "x": 0.5,
                    "y": 1,
                    "x2": 0.5,
                    "y2": 0,
                    "colorStops": [
                        {
                            "offset": 0,
                            "color": "#02dcdaff"
                        },
                        {
                            "offset": 1,
                            "color": "#eefdfdff"
                        }
                    ],
                    "colorVal": "linear-gradient(0deg, #02dcdaff 0%, #eefdfdff 100%)"
                },
                {
                    "type": "linear",
                    "x": 0.5,
                    "y": 1,
                    "x2": 0.5,
                    "y2": 0,
                    "colorStops": [
                        {
                            "offset": 0,
                            "color": "#e78151ff"
                        },
                        {
                            "offset": 1,
                            "color": "#f1e6ceff"
                        }
                    ],
                    "colorVal": "linear-gradient(0deg, #e78151ff 0%, #f1e6ceff 100%)"
                },
                {
                    "type": "linear",
                    "x": 0.5,
                    "y": 1,
                    "x2": 0.5,
                    "y2": 0,
                    "colorStops": [
                        {
                            "offset": 0,
                            "color": "#463dacff"
                        },
                        {
                            "offset": 1,
                            "color": "#463dacff"
                        }
                    ],
                    "colorVal": "linear-gradient(0deg, #463dacff 0%, #463dacff 100%)"
                },
                {
                    "type": "linear",
                    "x": 0.5,
                    "y": 1,
                    "x2": 0.5,
                    "y2": 0,
                    "colorStops": [
                        {
                            "offset": 0,
                            "color": "#20a971ff"
                        },
                        {
                            "offset": 1,
                            "color": "#20a971ff"
                        }
                    ],
                    "colorVal": "linear-gradient(0deg, #20a971ff 0%, #20a971ff 100%)"
                },
                {
                    "type": "linear",
                    "x": 0.5,
                    "y": 1,
                    "x2": 0.5,
                    "y2": 0,
                    "colorStops": [
                        {
                            "offset": 0,
                            "color": "#2d73c7ff"
                        },
                        {
                            "offset": 1,
                            "color": "#2d73c7ff"
                        }
                    ],
                    "colorVal": "linear-gradient(0deg, #2d73c7ff 0%, #2d73c7ff 100%)"
                }
            ],
            "isSVG": true,
            "label": {
                "show": false,
                "color": "#fff",
                "rotate": 0,
                "fontSize": 12,
                "position": "inside",
                "fontStyle": "normal",
                "fontFamily": "sans-serif",
                "fontWeight": "normal"
            },
            "center": [
                "30%",
                "50%"
            ],
            "encode": {
                "value": "Target",
                "itemName": "product"
            },
            "radius": [
                "70%",
                "90%"
            ],
            "emphasis": {
                "itemStyle": {
                    "shadowBlur": 10,
                    "shadowColor": "rgba(0, 0, 0, 0.5)",
                    "shadowOffsetX": 0
                }
            },
            "itemStyle": {
                "borderType": "solid",
                "shadowBlur": 0,
                "borderColor": "#fff",
                "borderWidth": 0,
                "shadowColor": "#000"
            },
            "labelLine": {
                "show": false,
                "length": 15,
                "length2": 15
            },
            "startAngle": 90,
            "avoidLabelOverlap": false
        }
    ],
    "dataset": {
        "source": [
            [
                "product",
                "Target"
            ],
            [
                "工业用途",
                121
            ],
            [
                "工业/物流用地",
                91
            ],
            [
                "物流仓储用地",
                47
            ],
            [
                "商业用地",
                56
            ],
            [
                "住宅用地",
                56
            ],
            [
                "交通设施用地",
                56
            ]
        ]
    },
    "tooltip": {
        "show": true,
        "textStyle": {
            "color": "#fff",
            "fontSize": 14,
            "fontStyle": "normal",
            "fontFamily": "sans-serif",
            "fontWeight": "normal"
        },
        "backgroundColor": "rgba(50,50,50,0.7)"
    }
}
  myChart.setOption(option)
}
export function brokenLine(myChart) {
  let option = {
    "grid": {
        "top": "20",
        "left": "10",
        "right": "20",
        "bottom": 15,
        "containLabel": true
    },
    "color": [
        "#1879F0",
        "#02DCDA",
        "#BF682C",
        "#463DAC",
        "#20A971",
        "#2D73C7"
    ],
    "xAxis": [
        {
            "type": "category",
            "boundaryGap": true,
            "show": true,
            "name": "",
            "position": "bottom",
            "axisLabel": {
                "show": true,
                "color": "#CCC",
                "inside": false,
                "fontWeight": "norMal",
                "fontSize": 0,
                "fontStyle": "normal",
                "fontFamily": "sans-serif",
                "margin": 8
            },
            "splitLine": {
                "show": false,
                "lineStyle": {
                    "color": "#CCC",
                    "type": "solid"
                }
            },
            "axisTick": {
                "show": false,
                "lineStyle": {
                    "color": "#CCC",
                    "type": "solid"
                },
                "inside": false,
                "alignWithLabel": false
            },
            "axisLine": {
                "show": true,
                "lineStyle": {
                    "color": "#CCC",
                    "type": "solid"
                }
            }
        }
    ],
    "yAxis": [
        {
            "type": "value",
            "boundaryGap": [
                0,
                "30%"
            ],
            "show": true,
            "name": "",
            "position": "left",
            "axisLabel": {
                "show": true,
                "color": "#CCC",
                "inside": false,
                "fontWeight": "norMal",
                "fontSize": 12,
                "fontStyle": "normal",
                "fontFamily": "sans-serif",
                "margin": 8
            },
            "splitLine": {
                "show": false,
                "lineStyle": {
                    "color": "#CCC",
                    "type": "solid"
                }
            },
            "axisTick": {
                "show": false,
                "lineStyle": {
                    "color": "#CCC",
                    "type": "solid"
                },
                "inside": false,
                "alignWithLabel": false
            },
            "axisLine": {
                "show": true,
                "lineStyle": {
                    "color": "#CCC",
                    "type": "solid"
                }
            },
            "min": null
        }
    ],
    "series": [
        {
            "name": "",
            "type": "line",
            "isSVG": true,
            "smooth": 0.6,
            "symbol": "none",
            "markLine": {
                "data": [
                    {
                        "yAxis": 1
                    },
                    {
                        "xAxis": 3
                    },
                    {
                        "xAxis": 5
                    },
                    {
                        "xAxis": 7
                    }
                ],
                "label": {
                    "show": false,
                    "color": "#ffffff",
                    "fontWeight": "normal",
                    "fontSize": 14,
                    "fontStyle": "normal",
                    "fontFamily": "sans-serif"
                },
                "symbol": "none",
                "lineStyle": {
                    "opacity": 0,
                    "type": "solid",
                    "color": "#fff"
                }
            },
            "areaStyle": {
                "color": {
                    "type": "linear",
                    "x": 0.49999999999999994,
                    "y": 0,
                    "x2": 0.5000000000000001,
                    "y2": 1,
                    "colorStops": [
                        {
                            "offset": 0.12,
                            "color": "#136be9a4"
                        },
                        {
                            "offset": 0.65,
                            "color": "#0e81ef5f"
                        },
                        {
                            "offset": 0.9,
                            "color": "#04aafa30"
                        },
                        {
                            "offset": 1,
                            "color": "#00baff00"
                        }
                    ],
                    "colorVal": "linear-gradient(180deg, #136be9a4 12%, #0e81ef5f 65%, #04aafa30 90%, #00baff00 100%)"
                },
                "opacity": 1,
                "origin": "start"
            },
            "lineStyle": {
                "color": {
                    "type": "linear",
                    "x": 0.5,
                    "y": 1,
                    "x2": 0.5,
                    "y2": 0,
                    "colorStops": [
                        {
                            "offset": 0,
                            "color": "#5470c6ff"
                        },
                        {
                            "offset": 1,
                            "color": "#5470c6ff"
                        }
                    ],
                    "colorVal": "linear-gradient(0deg, #5470c6ff 0%, #5470c6ff 100%)"
                },
                "width": 2,
                "shadowBlur": 0,
                "shadowColor": "rgba(0, 0, 0, 0.5)"
            },
            "label": {
                "show": false,
                "position": "inside",
                "rotate": 0,
                "color": "#fff",
                "fontWeight": "normal",
                "fontSize": 12,
                "fontStyle": "normal",
                "fontFamily": "sans-serif"
            },
            "itemStyle": {
                "color": {
                    "type": "linear",
                    "x": 0.5,
                    "y": 1,
                    "x2": 0.5,
                    "y2": 0,
                    "colorStops": [
                        {
                            "offset": 0,
                            "color": "#1879f0ff"
                        },
                        {
                            "offset": 1,
                            "color": "#1879f0ff"
                        }
                    ],
                    "colorVal": "linear-gradient(0deg, #1879f0ff 0%, #1879f0ff 100%)"
                },
                "borderColor": "#fff",
                "borderWidth": 0,
                "borderType": "solid",
                "shadowColor": "#000",
                "shadowBlur": 0
            },
            "showSymbol": true,
            "symbolSize": 4,
            "emphasis": {
                "focus": "none",
                "blurScope": "coordinateSystem"
            }
        }
    ],
    "dataset": {
        "source": [
            [
                "2019-10-10",
                200
            ],
            [
                "2019-10-11",
                560
            ],
            [
                "2019-10-12",
                750
            ],
            [
                "2019-10-13",
                580
            ],
            [
                "2019-10-14",
                250
            ],
            [
                "2019-10-15",
                300
            ],
            [
                "2019-10-16",
                450
            ],
            [
                "2019-10-17",
                300
            ],
            [
                "2019-10-18",
                100
            ]
        ]
    },
    "dataRange": {
        "show": false,
        "type": "piecewise",
        "pieces": [
            {
                "gt": 1,
                "lt": 3,
                "color": "rgba(0, 0, 180, 0.4)"
            },
            {
                "gt": 5,
                "lt": 7,
                "color": "rgba(0, 0, 180, 0.4)"
            }
        ],
        "dimension": 0,
        "seriesIndex": 0
    }
}
  myChart.setOption(option)
}
export function getLoop4(myChart) {
  let option = {
    "grid": {
      "top": 60,
      "left": "0%",
      "right": "0%",
      "bottom": 60
    },
    "color": [
      "#1879F0",
      "#02DCDA",
      "#BF682C",
      "#463DAC",
      "#20A971",
      "#2D73C7"
    ],
    "legend": {
      "top": "center",
      "icon": "roundRect",
      "left": null,
      "show": true,
      "right": "0",
      "bottom": null,
      "orient": "vertical",
      "itemGap": 12,
      "itemWidth": 12,
      "textStyle": {
        "color": "#ffffff",
        "fontSize": 12,
        "fontStyle": "normal",
        "fontFamily": "sans-serif",
        "fontWeight": "normal"
      },
      "itemHeight": 8
    },
    "series": [
      {
        "name": "访问来源",
        "type": "pie",
        "color": [
          {
            "type": "linear",
            "x": 0.5,
            "y": 1,
            "x2": 0.5,
            "y2": 0,
            "colorStops": [
              {
                "offset": 0,
                "color": "#1879f0ff"
              },
              {
                "offset": 1,
                "color": "#64c1f6ff"
              }
            ],
            "colorVal": "linear-gradient(0deg, #1879f0ff 0%, #64c1f6ff 100%)"
          },
          {
            "type": "linear",
            "x": 0.5,
            "y": 1,
            "x2": 0.5,
            "y2": 0,
            "colorStops": [
              {
                "offset": 0,
                "color": "#02dcdaff"
              },
              {
                "offset": 1,
                "color": "#eefdfdff"
              }
            ],
            "colorVal": "linear-gradient(0deg, #02dcdaff 0%, #eefdfdff 100%)"
          },
          {
            "type": "linear",
            "x": 0.5,
            "y": 1,
            "x2": 0.5,
            "y2": 0,
            "colorStops": [
              {
                "offset": 0,
                "color": "#e78151ff"
              },
              {
                "offset": 1,
                "color": "#f1e6ceff"
              }
            ],
            "colorVal": "linear-gradient(0deg, #e78151ff 0%, #f1e6ceff 100%)"
          },
          {
            "type": "linear",
            "x": 0.5,
            "y": 1,
            "x2": 0.5,
            "y2": 0,
            "colorStops": [
              {
                "offset": 0,
                "color": "#463dacff"
              },
              {
                "offset": 1,
                "color": "#463dacff"
              }
            ],
            "colorVal": "linear-gradient(0deg, #463dacff 0%, #463dacff 100%)"
          },
          {
            "type": "linear",
            "x": 0.5,
            "y": 1,
            "x2": 0.5,
            "y2": 0,
            "colorStops": [
              {
                "offset": 0,
                "color": "#20a971ff"
              },
              {
                "offset": 1,
                "color": "#20a971ff"
              }
            ],
            "colorVal": "linear-gradient(0deg, #20a971ff 0%, #20a971ff 100%)"
          },
          {
            "type": "linear",
            "x": 0.5,
            "y": 1,
            "x2": 0.5,
            "y2": 0,
            "colorStops": [
              {
                "offset": 0,
                "color": "#2d73c7ff"
              },
              {
                "offset": 1,
                "color": "#2d73c7ff"
              }
            ],
            "colorVal": "linear-gradient(0deg, #2d73c7ff 0%, #2d73c7ff 100%)"
          }
        ],
        "isSVG": true,
        "label": {
          "show": false,
          "color": "#fff",
          "rotate": 0,
          "fontSize": 12,
          "position": "inside",
          "fontStyle": "normal",
          "fontFamily": "sans-serif",
          "fontWeight": "normal"
        },
        "center": [
          "30%",
          "50%"
        ],
        "encode": {
          "value": "Target",
          "itemName": "product"
        },
        "radius": [
          "70%",
          "90%"
        ],
        "emphasis": {
          "itemStyle": {
            "shadowBlur": 10,
            "shadowColor": "rgba(0, 0, 0, 0.5)",
            "shadowOffsetX": 0
          }
        },
        "itemStyle": {
          "borderColor": "#FFFFFF",
          "borderWidth": "0",
          "borderRadius": 10,
          "borderType": "solid",
          "shadowColor": "#000",
          "shadowBlur": "2"
        },
        "labelLine": {
          "show": false,
          "length": 15,
          "length2": 15
        },
        "startAngle": 90,
        "avoidLabelOverlap": false
      }
    ],
    "dataset": {
      "source": [
        [
          "product",
          "Target"
        ],
        [
          "产业类型1",
          "121"
        ],
        [
          "产业类型2",
          "91"
        ],
        [
          "产业类型3",
          "47"
        ]
      ]
    },
    "tooltip": {
      "show": true,
      "textStyle": {
        "color": "#fff",
        "fontSize": 20,
        "fontStyle": "normal",
        "fontFamily": "sans-serif",
        "fontWeight": "normal"
      },
      "backgroundColor": "rgba(50,50,50,0.7)"
    }
  }
  myChart.setOption(option)
}
export function getLoop3(myChart) {
  let option = {
    "grid": {
      "top": 60,
      "left": "0%",
      "right": "0%",
      "bottom": 60
    },
    "color": [
      "#1879F0",
      "#02DCDA",
      "#BF682C",
      "#463DAC",
      "#20A971",
      "#2D73C7"
    ],
    "legend": {
      "top": "center",
      "icon": "roundRect",
      "left": null,
      "show": true,
      "right": "10",
      "bottom": null,
      "orient": "vertical",
      "itemGap": 12,
      "itemWidth": 12,
      "textStyle": {
        "color": "#ffffff",
        "fontSize": 12,
        "fontStyle": "normal",
        "fontFamily": "sans-serif",
        "fontWeight": "normal"
      },
      "itemHeight": 8
    },
    "series": [
      {
        "name": "访问来源",
        "type": "pie",
        "color": [
          {
            "type": "linear",
            "x": 0.5,
            "y": 1,
            "x2": 0.5,
            "y2": 0,
            "colorStops": [
              {
                "offset": 0,
                "color": "#1879f0ff"
              },
              {
                "offset": 1,
                "color": "#64c1f6ff"
              }
            ],
            "colorVal": "linear-gradient(0deg, #1879f0ff 0%, #64c1f6ff 100%)"
          },
          {
            "type": "linear",
            "x": 0.5,
            "y": 1,
            "x2": 0.5,
            "y2": 0,
            "colorStops": [
              {
                "offset": 0,
                "color": "#02dcdaff"
              },
              {
                "offset": 1,
                "color": "#eefdfdff"
              }
            ],
            "colorVal": "linear-gradient(0deg, #02dcdaff 0%, #eefdfdff 100%)"
          },
          {
            "type": "linear",
            "x": 0.5,
            "y": 1,
            "x2": 0.5,
            "y2": 0,
            "colorStops": [
              {
                "offset": 0,
                "color": "#e78151ff"
              },
              {
                "offset": 1,
                "color": "#f1e6ceff"
              }
            ],
            "colorVal": "linear-gradient(0deg, #e78151ff 0%, #f1e6ceff 100%)"
          },
          {
            "type": "linear",
            "x": 0.5,
            "y": 1,
            "x2": 0.5,
            "y2": 0,
            "colorStops": [
              {
                "offset": 0,
                "color": "#463dacff"
              },
              {
                "offset": 1,
                "color": "#463dacff"
              }
            ],
            "colorVal": "linear-gradient(0deg, #463dacff 0%, #463dacff 100%)"
          },
          {
            "type": "linear",
            "x": 0.5,
            "y": 1,
            "x2": 0.5,
            "y2": 0,
            "colorStops": [
              {
                "offset": 0,
                "color": "#20a971ff"
              },
              {
                "offset": 1,
                "color": "#20a971ff"
              }
            ],
            "colorVal": "linear-gradient(0deg, #20a971ff 0%, #20a971ff 100%)"
          },
          {
            "type": "linear",
            "x": 0.5,
            "y": 1,
            "x2": 0.5,
            "y2": 0,
            "colorStops": [
              {
                "offset": 0,
                "color": "#2d73c7ff"
              },
              {
                "offset": 1,
                "color": "#2d73c7ff"
              }
            ],
            "colorVal": "linear-gradient(0deg, #2d73c7ff 0%, #2d73c7ff 100%)"
          }
        ],
        "isSVG": true,
        "label": {
          "show": false,
          "color": "#fff",
          "rotate": 0,
          "fontSize": 12,
          "position": "inside",
          "fontStyle": "normal",
          "fontFamily": "sans-serif",
          "fontWeight": "normal"
        },
        "center": [
          "30%",
          "50%"
        ],
        "encode": {
          "value": "Target",
          "itemName": "product"
        },
        "radius": [
          "70%",
          "90%"
        ],
        "emphasis": {
          "itemStyle": {
            "shadowBlur": 10,
            "shadowColor": "rgba(0, 0, 0, 0.5)",
            "shadowOffsetX": 0
          }
        },
        "itemStyle": {
          "borderColor": "#FFFFFF",
          "borderWidth": "0",
          "borderRadius": 10,
          "borderType": "solid",
          "shadowColor": "#000",
          "shadowBlur": "2"
        },
        "labelLine": {
          "show": false,
          "length": 15,
          "length2": 15
        },
        "startAngle": 90,
        "avoidLabelOverlap": false
      }
    ],
    "dataset": {
      "source": [
        [
          "product",
          "Target"
        ],
        [
          "产业类型1",
          "121"
        ],
        [
          "产业类型2",
          "91"
        ],
        [
          "产业类型3",
          "47"
        ]
      ]
    },
    "tooltip": {
      "show": true,
      "textStyle": {
        "color": "#fff",
        "fontSize": 20,
        "fontStyle": "normal",
        "fontFamily": "sans-serif",
        "fontWeight": "normal"
      },
      "backgroundColor": "rgba(50,50,50,0.7)"
    }
  }

  myChart.setOption(option)
}
export function getLoop2(myChart) {
  let option = {
  "grid": {
    "top": 60,
    "left": "0%",
    "right": "0%",
    "bottom": 60
  },
  "color": [
    "#1879F0",
    "#02DCDA",
    "#BF682C",
    "#463DAC",
    "#20A971",
    "#2D73C7"
  ],
  "legend": {
    "top": "center",
    "icon": "roundRect",
    "left": null,
    "show": true,
    "right": "0",
    "bottom": null,
    "orient": "vertical",
    "itemGap": 12,
    "itemWidth": 12,
    "textStyle": {
      "color": "#ffffff",
      "fontSize": 12,
      "fontStyle": "normal",
      "fontFamily": "sans-serif",
      "fontWeight": "normal"
    },
    "itemHeight": 8
  },
  "series": [
    {
      "name": "访问来源",
      "type": "pie",
      "color": [
        {
          "type": "linear",
          "x": 0.5,
          "y": 1,
          "x2": 0.5,
          "y2": 0,
          "colorStops": [
            {
              "offset": 0,
              "color": "#1879f0ff"
            },
            {
              "offset": 1,
              "color": "#64c1f6ff"
            }
          ],
          "colorVal": "linear-gradient(0deg, #1879f0ff 0%, #64c1f6ff 100%)"
        },
        {
          "type": "linear",
          "x": 0.5,
          "y": 1,
          "x2": 0.5,
          "y2": 0,
          "colorStops": [
            {
              "offset": 0,
              "color": "#02dcdaff"
            },
            {
              "offset": 1,
              "color": "#eefdfdff"
            }
          ],
          "colorVal": "linear-gradient(0deg, #02dcdaff 0%, #eefdfdff 100%)"
        },
        {
          "type": "linear",
          "x": 0.5,
          "y": 1,
          "x2": 0.5,
          "y2": 0,
          "colorStops": [
            {
              "offset": 0,
              "color": "#e78151ff"
            },
            {
              "offset": 1,
              "color": "#f1e6ceff"
            }
          ],
          "colorVal": "linear-gradient(0deg, #e78151ff 0%, #f1e6ceff 100%)"
        },
        {
          "type": "linear",
          "x": 0.5,
          "y": 1,
          "x2": 0.5,
          "y2": 0,
          "colorStops": [
            {
              "offset": 0,
              "color": "#463dacff"
            },
            {
              "offset": 1,
              "color": "#463dacff"
            }
          ],
          "colorVal": "linear-gradient(0deg, #463dacff 0%, #463dacff 100%)"
        },
        {
          "type": "linear",
          "x": 0.5,
          "y": 1,
          "x2": 0.5,
          "y2": 0,
          "colorStops": [
            {
              "offset": 0,
              "color": "#20a971ff"
            },
            {
              "offset": 1,
              "color": "#20a971ff"
            }
          ],
          "colorVal": "linear-gradient(0deg, #20a971ff 0%, #20a971ff 100%)"
        },
        {
          "type": "linear",
          "x": 0.5,
          "y": 1,
          "x2": 0.5,
          "y2": 0,
          "colorStops": [
            {
              "offset": 0,
              "color": "#2d73c7ff"
            },
            {
              "offset": 1,
              "color": "#2d73c7ff"
            }
          ],
          "colorVal": "linear-gradient(0deg, #2d73c7ff 0%, #2d73c7ff 100%)"
        }
      ],
      "isSVG": true,
      "label": {
        "show": false,
        "color": "#fff",
        "rotate": 0,
        "fontSize": 12,
        "position": "inside",
        "fontStyle": "normal",
        "fontFamily": "sans-serif",
        "fontWeight": "normal"
      },
      "center": [
        "30%",
        "50%"
      ],
      "encode": {
        "value": "Target",
        "itemName": "product"
      },
      "radius": [
        "70%",
        "90%"
      ],
      "emphasis": {
        "itemStyle": {
          "shadowBlur": 10,
          "shadowColor": "rgba(0, 0, 0, 0.5)",
          "shadowOffsetX": 0
        }
      },
      "itemStyle": {
        "borderColor": "#FFFFFF",
        "borderWidth": "0",
        "borderRadius": 10,
        "borderType": "solid",
        "shadowColor": "#000",
        "shadowBlur": "2"
      },
      "labelLine": {
        "show": false,
        "length": 15,
        "length2": 15
      },
      "startAngle": 90,
      "avoidLabelOverlap": false
    }
  ],
  "dataset": {
    "source": [
      [
        "product",
        "Target"
      ],
      [
        "国家级",
        "121"
      ],
      [
        "省级",
        "91"
      ],
      [
        "市级",
        "47"
      ]
    ]
  },
  "tooltip": {
    "show": true,
    "textStyle": {
      "color": "#fff",
      "fontSize": 20,
      "fontStyle": "normal",
      "fontFamily": "sans-serif",
      "fontWeight": "normal"
    },
    "backgroundColor": "rgba(50,50,50,0.7)"
  }
}
  myChart.setOption(option)
}
 
export function getLoop1(myChart) {
 let option = {
    "grid": {
      "top": 60,
      "left": "0%",
      "right": "0%",
      "bottom": 60
    },
    "color": [
      "#1879F0",
      "#02DCDA",
      "#BF682C",
      "#463DAC",
      "#20A971",
      "#2D73C7"
    ],
    "legend": {
      "top": "center",
      "icon": "roundRect",
      "left": null,
      "show": true,
      "right": "0",
      "bottom": null,
      "orient": "vertical",
      "itemGap": 12,
      "itemWidth": 12,
      "textStyle": {
        "color": "#ffffff",
        "fontSize": 12,
        "fontStyle": "normal",
        "fontFamily": "sans-serif",
        "fontWeight": "normal"
      },
      "itemHeight": 8
    },
    "series": [
      {
        "name": "访问来源",
        "type": "pie",
        "color": [
          {
            "type": "linear",
            "x": 0.5,
            "y": 1,
            "x2": 0.5,
            "y2": 0,
            "colorStops": [
              {
                "offset": 0,
                "color": "#1879f0ff"
              },
              {
                "offset": 1,
                "color": "#64c1f6ff"
              }
            ],
            "colorVal": "linear-gradient(0deg, #1879f0ff 0%, #64c1f6ff 100%)"
          },
          {
            "type": "linear",
            "x": 0.5,
            "y": 1,
            "x2": 0.5,
            "y2": 0,
            "colorStops": [
              {
                "offset": 0,
                "color": "#02dcdaff"
              },
              {
                "offset": 1,
                "color": "#eefdfdff"
              }
            ],
            "colorVal": "linear-gradient(0deg, #02dcdaff 0%, #eefdfdff 100%)"
          },
          {
            "type": "linear",
            "x": 0.5,
            "y": 1,
            "x2": 0.5,
            "y2": 0,
            "colorStops": [
              {
                "offset": 0,
                "color": "#e78151ff"
              },
              {
                "offset": 1,
                "color": "#f1e6ceff"
              }
            ],
            "colorVal": "linear-gradient(0deg, #e78151ff 0%, #f1e6ceff 100%)"
          },
          {
            "type": "linear",
            "x": 0.5,
            "y": 1,
            "x2": 0.5,
            "y2": 0,
            "colorStops": [
              {
                "offset": 0,
                "color": "#463dacff"
              },
              {
                "offset": 1,
                "color": "#463dacff"
              }
            ],
            "colorVal": "linear-gradient(0deg, #463dacff 0%, #463dacff 100%)"
          },
          {
            "type": "linear",
            "x": 0.5,
            "y": 1,
            "x2": 0.5,
            "y2": 0,
            "colorStops": [
              {
                "offset": 0,
                "color": "#20a971ff"
              },
              {
                "offset": 1,
                "color": "#20a971ff"
              }
            ],
            "colorVal": "linear-gradient(0deg, #20a971ff 0%, #20a971ff 100%)"
          },
          {
            "type": "linear",
            "x": 0.5,
            "y": 1,
            "x2": 0.5,
            "y2": 0,
            "colorStops": [
              {
                "offset": 0,
                "color": "#2d73c7ff"
              },
              {
                "offset": 1,
                "color": "#2d73c7ff"
              }
            ],
            "colorVal": "linear-gradient(0deg, #2d73c7ff 0%, #2d73c7ff 100%)"
          }
        ],
        "isSVG": true,
        "label": {
          "show": false,
          "color": "#fff",
          "rotate": 0,
          "fontSize": 12,
          "position": "inside",
          "fontStyle": "normal",
          "fontFamily": "sans-serif",
          "fontWeight": "normal"
        },
        "center": [
          "30%",
          "50%"
        ],
        "encode": {
          "value": "Target",
          "itemName": "product"
        },
        "radius": [
          "70%",
          "90%"
        ],
        "emphasis": {
          "itemStyle": {
            "shadowBlur": 10,
            "shadowColor": "rgba(0, 0, 0, 0.5)",
            "shadowOffsetX": 0
          }
        },
        "itemStyle": {
          "borderColor": "#FFFFFF",
          "borderWidth": "0",
          "borderRadius": 10,
          "borderType": "solid",
          "shadowColor": "#000",
          "shadowBlur": "2"
        },
        "labelLine": {
          "show": false,
          "length": 15,
          "length2": 15
        },
        "startAngle": 90,
        "avoidLabelOverlap": false
      }
    ],
    "dataset": {
      "source": [
        [
          "product",
          "Target"
        ],
        [
          "商业配套",
          "121"
        ],
        [
          "仓储设施",
          "91"
        ],
        [
          "教育设施",
          "47"
        ]
      ]
    },
    "tooltip": {
      "show": true,
      "textStyle": {
        "color": "#fff",
        "fontSize": 20,
        "fontStyle": "normal",
        "fontFamily": "sans-serif",
        "fontWeight": "normal"
      },
      "backgroundColor": "rgba(50,50,50,0.7)"
    }
  }
  myChart.setOption(option)
}
export function getLoop(myChart) {
    let option = {
        grid: {
            "top": 60,
            "left": "0%",
            "right": "0%",
            "bottom": 60
        },
        color: [
            "#1879F0",
            "#02DCDA",
            "#BF682C",
            "#463DAC",
            "#20A971",
            "#2D73C7"
        ],
        legend: {
            "top": "center",
            "icon": "roundRect",
            "left": null,
            "show": true,
            "right": "0",
            "bottom": null,
            "orient": "vertical",
            "itemGap": 12,
            "itemWidth": 12,
            "textStyle": {
                "color": "#ffffff",
                "fontSize": 12,
                "fontStyle": "normal",
                "fontFamily": "sans-serif",
                "fontWeight": "normal"
            },
            "itemHeight": 8
        },
        "series": [
            {
                "name": "访问来源",
                "type": "pie",
                "color": [
                    {
                        "type": "linear",
                        "x": 0.5,
                        "y": 1,
                        "x2": 0.5,
                        "y2": 0,
                        "colorStops": [
                            {
                                "offset": 0,
                                "color": "#1879f0ff"
                            },
                            {
                                "offset": 1,
                                "color": "#64c1f6ff"
                            }
                        ],
                        "colorVal": "linear-gradient(0deg, #1879f0ff 0%, #64c1f6ff 100%)"
                    },
                    {
                        "type": "linear",
                        "x": 0.5,
                        "y": 1,
                        "x2": 0.5,
                        "y2": 0,
                        "colorStops": [
                            {
                                "offset": 0,
                                "color": "#02dcdaff"
                            },
                            {
                                "offset": 1,
                                "color": "#eefdfdff"
                            }
                        ],
                        "colorVal": "linear-gradient(0deg, #02dcdaff 0%, #eefdfdff 100%)"
                    },
                    {
                        "type": "linear",
                        "x": 0.5,
                        "y": 1,
                        "x2": 0.5,
                        "y2": 0,
                        "colorStops": [
                            {
                                "offset": 0,
                                "color": "#e78151ff"
                            },
                            {
                                "offset": 1,
                                "color": "#f1e6ceff"
                            }
                        ],
                        "colorVal": "linear-gradient(0deg, #e78151ff 0%, #f1e6ceff 100%)"
                    },
                    {
                        "type": "linear",
                        "x": 0.5,
                        "y": 1,
                        "x2": 0.5,
                        "y2": 0,
                        "colorStops": [
                            {
                                "offset": 0,
                                "color": "#463dacff"
                            },
                            {
                                "offset": 1,
                                "color": "#463dacff"
                            }
                        ],
                        "colorVal": "linear-gradient(0deg, #463dacff 0%, #463dacff 100%)"
                    },
                    {
                        "type": "linear",
                        "x": 0.5,
                        "y": 1,
                        "x2": 0.5,
                        "y2": 0,
                        "colorStops": [
                            {
                                "offset": 0,
                                "color": "#20a971ff"
                            },
                            {
                                "offset": 1,
                                "color": "#20a971ff"
                            }
                        ],
                        "colorVal": "linear-gradient(0deg, #20a971ff 0%, #20a971ff 100%)"
                    },
                    {
                        "type": "linear",
                        "x": 0.5,
                        "y": 1,
                        "x2": 0.5,
                        "y2": 0,
                        "colorStops": [
                            {
                                "offset": 0,
                                "color": "#2d73c7ff"
                            },
                            {
                                "offset": 1,
                                "color": "#2d73c7ff"
                            }
                        ],
                        "colorVal": "linear-gradient(0deg, #2d73c7ff 0%, #2d73c7ff 100%)"
                    }
                ],
                "isSVG": true,
                "label": {
                    "show": false,
                    "color": "#fff",
                    "rotate": 0,
                    "fontSize": 12,
                    "position": "inside",
                    "fontStyle": "normal",
                    "fontFamily": "sans-serif",
                    "fontWeight": "normal"
                },
                "center": [
                    "30%",
                    "50%"
                ],
                "encode": {
                    "value": "Target",
                    "itemName": "product"
                },
                "radius": [
                    "70%",
                    "90%"
                ],
                "emphasis": {
                    "itemStyle": {
                        "shadowBlur": 10,
                        "shadowColor": "rgba(0, 0, 0, 0.5)",
                        "shadowOffsetX": 0
                    }
                },
                "itemStyle": {
                    "borderColor": "#FFFFFF",
                    "borderWidth": "0",
                    "borderRadius": 10,
                    "borderType": "solid",
                    "shadowColor": "#000",
                    "shadowBlur": "2"
                },
                "labelLine": {
                    "show": false,
                    "length": 15,
                    "length2": 15
                },
                "startAngle": 90,
                "avoidLabelOverlap": false
            }
        ],
        "dataset": {
            "source": [
                [
                    "product",
                    "Target"
                ],
                [
                    "科技",
                    "121"
                ],
                [
                    "互联网",
                    "91"
                ],
                [
                    "制造业",
                    "47"
                ]
            ]
        },
        "tooltip": {
            "show": true,
            "textStyle": {
                "color": "#fff",
                "fontSize": 20,
                "fontStyle": "normal",
                "fontFamily": "sans-serif",
                "fontWeight": "normal"
            },
            "backgroundColor": "rgba(50,50,50,0.7)"
        }
    }
    myChart.setOption(option)
}